package com.zenith.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zenith.edu.po.domain.EduWarningLog;
import com.zenith.edu.po.dto.EduWarningLogDTO;
import com.zenith.edu.po.vo.EduWarningLogVO;

import java.util.List;

public interface EduWarningLogService extends IService<EduWarningLog> {
    
    /**
     * 创建预警日志
     * @param dto 预警日志DTO
     * @return 预警日志VO
     */
    EduWarningLogVO createWarningLog(EduWarningLogDTO dto);
    
    /**
     * 根据ID获取预警日志详情
     * @param id 预警日志ID
     * @return 预警日志VO
     */
    EduWarningLogVO getWarningLogById(Long id);
    
    /**
     * 更新预警日志信息
     * @param dto 预警日志DTO
     * @return 预警日志VO
     */
    EduWarningLogVO updateWarningLog(EduWarningLogDTO dto);
    
    /**
     * 删除指定预警日志
     * @param id 预警日志ID
     * @return 是否删除成功
     */
    boolean deleteWarningLog(Long id);
    
    /**
     * 获取预警日志列表
     * @return 预警日志VO列表
     */
    List<EduWarningLogVO> getWarningLogList();
}